package com.av.bcacc.jetpack;

import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;

import android.os.Bundle;

import com.av.bcacc.jetpack.databinding.ActivityLifeCircleBinding;
import com.av.bcacc.jetpack.modle.LifeCircleObserver;
/**
 * @description 
 * @author weiliang hu
 * @time 2021/4/21 21:19
 * @email:2072025612@qq.com
 */

public class LifeCircleActivity extends AppCompatActivity {


    ActivityLifeCircleBinding activityLifeCircleBinding;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        getLifecycle().addObserver(new LifeCircleObserver());
        super.onCreate(savedInstanceState);
        activityLifeCircleBinding= DataBindingUtil.setContentView(this,R.layout.activity_life_circle);
    }
}
